package com.example.design.a.builder;

/**
 * 戴尔电脑
 */
public class DellBuilder extends ComputerBuilder {
    @Override
    public void buildKeyBoard() {
        computer.setKeyboard(new Keyboard("IKBC机械键盘"));
    }

    @Override
    public void buildMouse() {
        computer.setMouse(new Mouse("罗技"));
    }

    @Override
    public void buildScreen() {
        computer.setScreen(new Screen("三星"));
    }

    @Override
    public Computer getComputer() {
        computer.setName("Dell商用XPS");
        return this.computer;
    }
}
